package com.project.study.farming.base.mapper;

import com.project.study.farming.base.entity.dto.AuditPageDto;
import com.project.study.farming.base.entity.dto.SeePageDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 管理员主要业务查询
 * @since 2020-05-01
 */
@Repository
public interface GuanLiMainMapper {

    List<AuditPageDto> searchAudit(@Param("bigType") Integer bigType, @Param("cropId") Integer cropId, @Param("auditStatus") Integer auditStatus);

    void deleteRes(@Param("id") String id, @Param("username") String username);

    List<SeePageDto> seePage(@Param("areaId") Integer areaId, @Param("cropId") Integer cropId, @Param("plantStatus") Integer plantStatus);
}
